package po;

import java.util.Map;

public class UserDaoImpl implements UserDao{
    private static final Map<String, String> userMap = Map.of("张三", "北京市", "李四", "上海市", "王五", "广州市");
    @Override
    public String queryUserName(String name) {
        return userMap.get(name);
    }
    public UserDaoImpl(){
    }

    @Override
    public String toString() {
        return "UserDao";
    }
}
